.role-display-container {
  padding: 20px;
}

.page-header {
  margin-bottom: 30px;
}

.page-header h1 {
  margin-bottom: 8px;
  font-size: 24px;
  color: #303133;
}

.page-description {
  color: #606266;
  font-size: 14px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  height: 100%;
}

.stat-item {
  padding: 15px;
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #303133;
}

.stat-label {
  color: #606266;
  font-size: 14px;
  margin-bottom: 8px;
}

.stat-trend {
  font-size: 12px;
}

.trend-up {
  color: #67c23a;
}

.trend-down {
  color: #f56c6c;
}

.trend-stable {
  color: #909399;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.role-details-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.feature-card,
.role-chart-card,
.recent-activity-card {
  height: 100%;
}

.feature-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  display: flex;
  justify-content: space-between;
  /* font-size: 28px; */
  color: #409eff;
  margin-bottom: 15px;
}

.feature-content h3 {
  margin-bottom: 5px;
  font-size: 16px;
  color: #303133;
}

.feature-content p {
  color: #606266;
  font-size: 14px;
  line-height: 1.5;
}
.feature-card:hover .feature-action {
  color: #409eff;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.card-header h2 {
  font-size: 18px;
  color: #303133;
}

.chart-container {
  padding: 10px;
}

.role-progress {
  margin-bottom: 15px;
}

.activity-table {
  width: 100%;
}

@media (max-width: 1024px) {
  .role-details-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
  }
}